package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "t_Integral_tasks", autoResultMap = true)
@Document(indexName = "t_Integral_tasks")
public class IntegralTasksDO extends  BaseDO{
    @Field(name = "task_name", type = FieldType.Text, analyzer="ik_max_word")
    private  String taskName;
    @Field(name = "is_finish", type = FieldType.Text, analyzer="ik_max_word")
    private  Integer isFinish;
    @Field(name = "point", type = FieldType.Text, analyzer="ik_max_word")
    private   String point;
    @Field(name = "username", type = FieldType.Text, analyzer="ik_max_word")
    private  String username;


}
